package c.e.a.b.f.b;

import java.util.Objects;

/* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */
public final class l8 implements Runnable {
    public final /* synthetic */ i3 a;
    public final /* synthetic */ k8 b;

    public l8(k8 k8Var, i3 i3Var) {
        this.b = k8Var;
        this.a = i3Var;
    }

    public final void run() {
        synchronized (this.b) {
            this.b.a = false;
            if (!this.b.c.B()) {
                this.b.c.d().m.a("Connected to remote service");
                q7 q7Var = this.b.c;
                i3 i3Var = this.a;
                q7Var.g();
                Objects.requireNonNull(i3Var, "null reference");
                q7Var.d = i3Var;
                q7Var.F();
                q7Var.H();
            }
        }
    }
}
